package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdCity;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository
public interface TdCityMapper {
    int deleteByPrimaryKey(Integer cityid);

    int insert(TdCity record);

    int insertSelective(TdCity record);

    TdCity selectByPrimaryKey(Integer cityid);

    int updateByPrimaryKeySelective(TdCity record);

    int updateByPrimaryKey(TdCity record);

    /**
     * 根据省份ID获取城市
     */
    List<TdCity> queryByProvinceId(int provinceid);
}